package cn.pro.dao;

import cn.pro.entity.ProUser;
import cn.pro.entity.vo.ProUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ProUserDao {
    void insert(ProUserVo proUser);
    ProUserVo selectById(@Param("id") String id);
    void delById(@Param("id") String id);
    void updateById(ProUser proUser);
    ProUserVo selectByName(@Param("userName") String userName);
    List<ProUserVo> selectList(ProUser proUser);
}